<div ng-controller="ClassdetailCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/classes/list">课程表分类</a></li>
        <li><a href="#/classes/kclist?class_category_id={{class_category_id}}">课程表</a></li>
        <li>
            <classcategory-list ng-model="class_category_id" stype="1"></classcategory-list>{{"info"|translate}}
            <a href="#/classdetail/add?class_id={{class_id}}&class_category_id={{class_category_id}}" class="sui-btn btn-primary">新建</a>
        </li>
    </ul>
    <classdetail-tab ng-model="status" click-tab="getList(1)"></classdetail-tab>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'id'|translate}}</th>
                <th>{{'教练'|translate}}</th>
                <th>{{'上课时间'|translate}}</th>
                <th>{{'用户'|translate}}</th>
                <th>{{'状态'|translate}}</th>
                <!-- <th>{{'描述'|translate}}</th> -->
                <th>{{'创建时间'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in class_detail_list">
                <td>{{list.class_detail_id}}</td>
                <td>
                    <wxinfo ng-model="list.user_id" userid="1"></wxinfo>
                </td>
                <td>{{list.class_tiem}}</td>
                <td>
                    <wxinfo ng-model="list.member_id" stye="1"></wxinfo>
                </td>
                <td>
                    <class-status ng-model="list.status" stype="1"></class-status>
                </td>
                <!-- <td>{{list.desc}}</td> -->
                <td>{{list.created_time}}</td>
                <td>
                    <a href="#/classdetail/add?class_detail_id={{list.class_detail_id}}&class_id={{class_id}}&class_category_id={{class_category_id}}" class="sui-btn btn-primary"> {{'edit'|translate}} </a>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="page_Size" total="total" get-data="getList(pageNo)"></pager>
    <!-- 分页end -->
</div>